<template>
  <div class="HeadMenuContainer">
    <div class="item" v-for="item in menuColumns" :key="item.name">
      <router-link target="_blank" :to="{ name: item.routerPath }">
        <div class="item-con">
          <i :class="item.icon"></i>

          <div>{{ item.name }}</div>
        </div>
      </router-link>
    </div>
  </div>
</template>

<script>
import menuColumns from "./item";
export default {
  data() {
    return {
      menuColumns,
    };
  },
};
</script>

<style lang="scss" scope>
.HeadMenuContainer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 100%;
  column-gap: 5px;
  row-gap: 5px;
  justify-content: center;
  align-content: center;
  div.item {
    height: 70px;
    width: 100%;
    background: #E6E6E6;
    border-radius:5px ;
    .item-con {
      height: 100%;
      display: grid;
      align-content: center;
      justify-items: center;
    //   font-size: 18px;
      color: black;
      font-weight: 600;
      
      
    }
  }
}
</style>